#add data
macro(add_files_macro FPATH FGROUP)
    file(GLOB GDAL_AHHEADERS ${FPATH}/*.h  ${FPATH}/*.hpp)
    set(GDAL_HHEADERS ${GDAL_HHEADERS} ${GDAL_AHHEADERS})
    source_group("Header Files\\${FGROUP}" FILES ${GDAL_AHHEADERS})
    file(GLOB GDAL_ACSOURCES ${FPATH}/*.cpp ${FPATH}/*.cc ${FPATH}/*.c)
    set(GDAL_CSOURCES ${GDAL_CSOURCES} ${GDAL_ACSOURCES})
    source_group("Source Files\\${FGROUP}" FILES ${GDAL_ACSOURCES})
endmacro()